package com.example.design.practice.ratelimit.v1.rule;

/**
 * @Description TODO
 * @date 2022/11/16 15:28
 * @Author liuzhihui
 * @Version 1.0
 */
public class RateLimitRule {
    RuleConfig ruleConfig;
    ApiLimit limit;

    public RateLimitRule(RuleConfig ruleConfig) {
        this.ruleConfig = ruleConfig;
    }

    public ApiLimit getLimit(String appId, String url) {
        return limit;
    }
}
